#ifndef USERINFOWINDOW_H
#define USERINFOWINDOW_H

#include <QDialog>
#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include "model/data.h"

using model::UserInfo;

class UserInfoWindow : public QDialog
{
    Q_OBJECT
public:
    UserInfoWindow(QWidget* parent, const UserInfo& user);
private:
    const UserInfo& userInfo;

    QPushButton* avatar;
    QLabel* idTag;
    QLabel* idLabel;

    QLabel* nameTag;
    QLabel* nameLabel;

    QLabel* phoneTag;
    QLabel* phoneLabel;

    QPushButton* sendMessageBtn;
    QPushButton* applyBtn;
    QPushButton* deleteFriendBtn;
};

#endif // USERINFOWINDOW_H
